package com.bawei.home.ui

import com.bawei.home.R
import com.bw.lib_mvvm.entity.SimpleVideo
import com.bw.lib_mvvm.entity.TypeData
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class HomeTypeAdapter(list: MutableList<TypeData>):
BaseQuickAdapter<TypeData,BaseViewHolder>(R.layout.home_type_video,list){
    override fun convert(helper: BaseViewHolder, item: TypeData) {
        helper.setText(R.id.type_tv,item.typename)
    }
}